2004-06-22 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
+ this gets defined for all backends, so linux-fb has a
+ chance of compiling.
+
* gdk/x11/gdkgc-x11.c:
* gdk/gdkgc.c: Move function docs inline, add hints about
obtaining rgb colors from gcs. (#144688, Steve Chaplin)
2004-06-22 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
+ this gets defined for all backends, so linux-fb has a
+ chance of compiling.
+
* gdk/x11/gdkgc-x11.c:
* gdk/gdkgc.c: Move function docs inline, add hints about
obtaining rgb colors from gcs. (#144688, Steve Chaplin)
2004-06-22 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
+ this gets defined for all backends, so linux-fb has a
+ chance of compiling.
+
* gdk/x11/gdkgc-x11.c:
* gdk/gdkgc.c: Move function docs inline, add hints about
obtaining rgb colors from gcs. (#144688, Steve Chaplin)
2004-06-22 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
+ this gets defined for all backends, so linux-fb has a
+ chance of compiling.
+
* gdk/x11/gdkgc-x11.c:
* gdk/gdkgc.c: Move function docs inline, add hints about
obtaining rgb colors from gcs. (#144688, Steve Chaplin)
/* Maximum size of a sent chunk, in bytes. Also the default size of
our buffers */
-#ifdef GDK_WINDOWING_WIN32
-/* No chunks on Win32 */
-#define GTK_SELECTION_MAX_SIZE(display) G_MAXINT
-#else
+#ifdef GDK_WINDOWING_X11
#define GTK_SELECTION_MAX_SIZE(display) \
MIN(262144, \
XExtendedMaxRequestSize (GDK_DISPLAY_XDISPLAY (display)) == 0 \
? XMaxRequestSize (GDK_DISPLAY_XDISPLAY (display)) - 100 \
: XExtendedMaxRequestSize (GDK_DISPLAY_XDISPLAY (display)) - 100)
+#else
+/* No chunks on Win32 */
+#define GTK_SELECTION_MAX_SIZE(display) G_MAXINT
#endif
#define IDLE_ABORT_TIME 300